<asp:TemplateField HeaderText="ItemCode" SortExpression="ItemCode">
	<ItemTemplate><asp:Label Text='<%#Eval("ItemCode") %>' runat="server" /></ItemTemplate>
	<EditItemTemplate>
		<asp:DropDownList ID="selItemID" DataSourceID="dsItems" DataTextField="Code" DataValueField="ID" runat="server"
				 SelectedValue='<%# Bind("ItemID") %>'></asp:DropDownList>
	</EditItemTemplate>
	<FooterTemplate>
		<asp:DropDownList ID="ItemID" DataSourceID="dsItems" DataTextField="Code" DataValueField="ID" runat="server"></asp:DropDownList>
	</FooterTemplate>
</asp:TemplateField>
